package com.huilian.iotbox.data.vo;

import com.huilian.iotbox.data.dto.QueryParam;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;


@Data
public class AgencyVo extends QueryParam implements Serializable {
    private static final long serialVersionUID = -7238096935547369768L;

    private Integer id;
    /**
     * 这个也是id,因为前端树形结构需要
     */
    private Integer key;
    /**
     * 机构号
     */
    private String agencyNo;
    /**
     * 简称
     */
    private String alias;
    /**
     * 1个人，2个体户，3，有限公司
     */
    private Integer type;
    /**
     * 省份
     */
    private String province;
    /**
     * 城市
     */
    private String city;

    private String district;

    private Integer level;

    /**
     * 父级id
     */
    private Integer parentId;

    private Integer salesmanId;

    private Integer status;

    private Date createTime;

    private Integer dockingStatus;

    private Integer cardStatus;

    private Integer userId;


    private BigDecimal fee;

    private String agencyName;

    private String username;
    private String name;
    private String mobile;

    private BigDecimal commissionBalance;

    private String bussAuthNum;

    private String idCardNo;

    private String certPhotoA;
    private String certPhotoB;

    public String licensePhoto;

    private String parentAgencyNo;

    private String parentAlias;

    private Integer payeeUserId;

    // 子集，要跟前端一致
    private List<AgencyVo> children;

    private String title;

    private Integer userStatus;
    /**
     * 自定义logo
     */
    private Boolean customLogo;
    /**
     * PC端logo文件名
     */
    private String pcLogoFileName;
    /**
     * 移动端logo文件名
     */
    private String mobileLogoFileName;
    private List<ActivityVo> activityVoList;
    private BigDecimal aliFee;
    private BigDecimal wxFee;

    private String deviceNo;
}
